package my.springboot.jpa;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;


public interface UserDao extends JpaRepository<User, Long>,UserExtendsDao{
	@Query("select * from user where name =?1 and age=?2")
	public User findUser(String name ,int age);
}
